home *** CD-ROM | disk | FTP | other *** search
/ Champak 145 / (Vol 145) Dec 21 2011.iso / Games / hearts.swf / scripts / DefineSprite_638 / frame_1 / DoAction_4.as < prev    next >
Encoding:
Text File  |  2011-12-21  |  694 b   |  30 lines

  1. this.oads = this.oad = 400;
  2. this.oadm = 700;
  3. this.ads = this.ad = 800;
  4. this.adm = 1000;
  5. this.hds = this.hd = 1100;
  6. this.hdm = 3100;
  7. this.fds = this.fd = 3150;
  8. this.fdm = 3250;
  9. this.puds = this.pud = 3300;
  10. this.pudm = 3800;
  11. this.tds = this.td = 4000;
  12. this.tdm = 5000;
  13. this.trds = this.trd = 6010;
  14. this.trdm = 6050;
  15. this.wall.swapDepths(6100);
  16. this.gameDisplay.swapDepths(7000);
  17. this.helpMC.swapDepths(7003);
  18. this.pauseDisplay.swapDepths(7005);
  19. this.gameOver.swapDepths(7010);
  20. this.mainDisplay.swapDepths(7100);
  21. this.addD = function(what)
  22. {
  23.    var t = this;
  24.    t[what + "d"]++;
  25.    if(t[what + "d"] > t[what + "dm"])
  26.    {
  27.       t[what + "d"] = t[what + "ds"];
  28.    }
  29. };
  30.